using System.Collections.Generic;
using System.Text;

namespace OracleInternal.SqlAndPlsqlParser.LocalParsing
{
	internal class OracleLpFunctionExpression : OracleLpExpression
	{
		public OracleLpFunctionExpression(OracleLpStatementElement parent)
			: base(parent)
		{
			m_vExpressionType = OracleLpExpressionType.FUNCTION_EXPRESSION;
		}

		public override void EvaluateDatatype()
		{
		}

		public override IList<OracleLpExpression> GetAllTerminalExpressions()
		{
			return m_vAllTerminalExpressions;
		}

		internal override void ToString(StringBuilder sb)
		{
			base.ToString(sb);
			sb.Append("  ExpressionText: ");
			if (m_vText != null)
			{
				sb.Append(m_vText.Fragment);
			}
		}
	}
}
